/**
 * @file
 * HTML Element Styling
 *
 * Ok, I admit it. I fooled you. This isn't a "reset" stylesheet. Instead this
 * is the place where you should set (not reset) the default styling for all
 * HTML elements.
 *
 * @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/
 * @see http://snook.ca/archives/html_and_css/no_css_reset/
 */


/*
 * Fonts
 *
 * Our font size and line height declarations are based on the following ALA
 * article:
 *   http://www.alistapart.com/articles/howtosizetextincss
 *
 * All modern browsrs use a 16px default font size. Specifying the font-size
 * and line-height in ems (relative to the 16px default font) allows the user
 * to resize the font in the browser and produces the most consistent results
 * across different browsers.
 */
body {
  font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */
}

#skip-link,
#page,
#footer,
.region-page-closure {
  /*
   * To use a 12px font size on the page, delete the 14px declarations.
   * to use a 14px font size on the page, delete the 12px declarations.
   */

  /* Use a 12px base font size with a 16px line height */
  font-size: 0.75em; /* 16px x .75 = 12px */
  line-height: 1.583em; /* 12px x 1.583 = 19px */
}

#footer {
  font-size: 0.687em; /* 16px x .6875 = 11px */
  line-height: 1.727em; /* 11px x 1.727 = 19px */
}

body,
caption,
th,
td,
input,
textarea,
select,
option,
legend,
fieldset {
  /* The following font family declarations are based on the Microsoft core web
   * fonts which are common fonts available on most computer systems. The DejaVu
   * fonts are commonly available on Linux systems where the MS fonts are less
   * common. Tahoma and Helvetica are also widely available.
   *
   * A user's web browser will look at the comma-separated list and will
   * attempt to use each font in turn until it finds one that is available
   * on the user's computer. The final "generic" font (sans-serif or serif)
   * hints at what type of font to use if the web browser doesn't find any
   * of the fonts in the list.

  font-family: "Times New Roman", Times, Georgia, "DejaVu Serif", serif;
  font-family: Times, "Times New Roman", Georgia, "DejaVu Serif", serif;
  font-family: Georgia, "Times New Roman", "DejaVu Serif", serif;

  font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
  font-family: Tahoma, Verdana, "DejaVu Sans", sans-serif;
  font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
  font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;

  font-family: "Courier New", "DejaVu Sans Mono", monospace;

   */

  font-family: "Lucida Sans", "Lucida Grande", Helvetica, Arial, "Nimbus Sans L", sans-serif;
}

pre,
code {
  font-size: 1.1em; /* Monospace fonts can be hard to read */
  font-family: "DejaVu Sans Mono", "Courier New", monospace;
}

/*
 * Headings
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Georgia, "Times New Roman", "DejaVu Serif", serif;
  font-weight: normal;
  margin: 0;
}

h1 {
  font-size: 2em; /* 24px x 1.286 = 26px */
  line-height: 1.08em;
  margin: 0 0 .75em 0; /* 18px x .75 = 24px*/
}

h2 {
  font-size: 1.75em; /* 21px x 1.238 = 26px */
  line-height: 1.238em;
}

h3 {
  font-size: 1.5em; /* 18px x 1.444 = 26px */
  line-height: 1.444em;
}

h4,
h5,
h6 {
  font-size: 1.3em; /* 16px x 1.625 = 26px */
  line-height: 1.625em;
}

/*
 * Block-level elements
 */
p,
ul,
ol,
dl,
pre,
table,
fieldset,
blockquote {
  margin:  0 0 1em 0;
}

blockquote {
  color: #7f7e79;
  font-family: Georgia, "Times New Roman", "DejaVu Serif", serif;
  font-style: italic;
  font-size: 1.16em; /* 14px x 1.357em = 19px*/
  line-height: 1.357em;
}

/*
 * Lists
 *
 * We need to standardize the list item indentation.
 */
ul,
ol {
  margin-left: 0;
  padding-left: 2em; /* LTR */
}

.block ul,
.item-list ul /* Drupal overrides */ {
  margin: 1em 0;
  padding: 0 0 0 2em; /* LTR */
}

ul ul, ul ol,
ol ol, ol ul,
.block ul ul, .block ul ol,
.block ol ol, .block ol ul,
.item-list ul ul, .item-list ul ol,
.item-list ol ol, .item-list ol ul {
  margin: 0;
}

li {
  margin: 0;
  padding: 0;
}

.item-list ul li /* Drupal override */ {
  margin: 0;
  padding: 0;
  list-style: inherit;
}

ul.menu li,
li.expanded,
li.collapsed,
li.leaf /* Drupal override */ {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: none;
}

ul          { list-style-type: disc; }
ul ul       { list-style-type: circle; }
ul ul ul    { list-style-type: square; }
ul ul ul ul { list-style-type: circle; }
ol          { list-style-type: decimal; }
ol ol       { list-style-type: lower-alpha; }
ol ol ol    { list-style-type: decimal; }

dt {
  margin: 0;
  padding: 0;
}

dd {
  margin: 0 0 1.3em 2em;
  padding: 0;
}

/*
 * Links
 *
 * The order of link states are based on Eric Meyer's article:
 * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
 */
a:link {
  text-decoration: none;
  border-bottom: 1px dotted;
}

a:visited {
  text-decoration: none;
  border-bottom: 1px dotted;
}

a:hover,
a:focus {
  color: #666;
  text-decoration: none;
  border-bottom: 1px dotted;
}

a:active {
  text-decoration: none;
  border-bottom: 1px dotted;
}

a.tabledrag-handle,
a.tabledrag-handle:hover {
  border: none;
}

/*
 * Tables
 *
 * Drupal provides table styling which is only useful for its admin section
 * forms, so we override this default CSS. (We set it back in forms.css.)
 */
table {
  border-collapse: collapse;
  width: 100%; /* Prevent cramped-looking tables */
  font-size: .92em; /* 11px x 1.636 = 18px */
  line-height: 1.636em;
}

th,
thead th,
tbody th {
  text-align: left; /* LTR */
  padding-left: 22px;
  padding-right: 0;
  border-bottom: none;
}

thead th {
  background-color: #e4e3dd;
  font-weight: bold;
  padding: 5px 24px;
}

tbody {
  border-top: none;
  font-weight: normal;
}

tbody tr.odd,
tbody tr.even {
  padding: 5px 22px;
  margin: 0;
  height: 22px;
}

tbody td {
  padding: 5px 24px;
  vertical-align: top;
}

/*
 * Abbreviations
 */
abbr {
  border-bottom: 1px dotted #666;
  cursor: help;
  white-space: nowrap;
}

abbr.created /* Date-based "abbreviations" show computer-friendly timestamps which are not human-friendly. */ {
  border: none;
  cursor: auto;
  white-space: normal;
}

/*
 * Images
 */
img {
  border: 0;
  vertical-align: bottom;
}

/*
 * Horizontal rules
 */
hr {
  height: 1px;
  border: 1px solid #666;
}

/*
 * Forms
 */
form {
  margin: 0;
  padding: 0;
}

fieldset {
  margin: 1em 0;
  padding: 0.5em;
}
